/* 
 * main.cpp
 * @author your_login_here
 * 
 */

#include <stdlib.h>
//<!-- TA
#include "Image.h"
#include <cv.h>
#include <highgui.h>
#include <iostream>
//-->

int main(int argc, char** argv) {
    //<!--
    IplImage *img = cvLoadImage("/course/cs032/data/images/bunny1.jpg", 1);
    RgbImage rgb(img);
    for (int y = 0; y < img->height; y++) {
        for (int x = 0; x < img->width; x++) {
            //rgb[y][x].b = 255;
        }
    }
    cvNamedWindow("test", CV_WINDOW_AUTOSIZE);
    cvShowImage("test", img);
    cvWaitKey(5000);
    cvDestroyWindow("test");
    cvReleaseImage(&img);
    //-->

    return (EXIT_SUCCESS);
}

